import { Controller } from 'egg';

class HomeController extends Controller {
  async index() {
    const { ctx } = this;
    const hello = await ctx.service.test.sayHi('hello Egg!');
    ctx.body = {
      Controller,
      hello,
    };
  }
}

module.exports = HomeController;
